<?php
 include "template/header.php";
 
 if(isset($_SESSION['tipo_usuario'])){
	
			
			
	$id = $_SESSION['tipo_usuario'];
			
	if($id == 4){
?>
<h2>Novo Medicamento</h2>
<form action="insert_drug.php" method="POST">
	Nome <input type="text" name="nome"/><br />
	Valor <input type="text" name="valor"/><br />
 	Quantidade <input type="text" name="qtd" size=1/>
	<input type="submit" value="OK"/>
</form> 
 
 
<?php 
}else{
	echo "acesso restrito";
}

}

 include "template/footer.php";
?>